﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fcdbas.WinUI.Common
{
    public class QueryItem
    {
        public int? OrderSeq
        {
            get;
            set;
        }
        public Type DataType
        {
            get;
            set;
        }
        /// <summary>
        /// 左括號
        /// </summary>
        public string LeftParenthesis
        {
            get;
            set;
        }
        /// <summary>
        /// 标签
        /// </summary>
        public string Caption
        {
            get;
            set;
        }
        /// <summary>
        /// 字段名
        /// </summary>
        public string FieldName
        {
            get;
            set;
        }

        /// <summary>
        /// 符號
        /// </summary>
        public string ExpressionSymbol
        {
            get;
            set;
        }


        /// <summary>
        /// 值
        /// </summary>
        public object FieldValue
        {
            get;
            set;
        }


        /// <summary>
        /// 右括號
        /// </summary>
        public string RightParenthesis
        {
            get;
            set;
        }
        /// <summary>
        /// 条件值
        /// </summary>
        public string Value
        {
            get;
            set;
        }
        /// <summary>
        /// 與或(And/Or)
        /// </summary>
        public string WithOr
        {
            get;
            set;
        }
        public string OrderBy
        {
            get;
            set;
        }
        public int OrderIndex
        {
            get;
            set;
        }
    }
}
